Component({
	options: {
	  multipleSlots: true
	},

	properties: {
	   openType: {
		 type: String
	   }
	},
	
	data: {
		// 这里是一些组件内的数据
	},
	methods: {
		// 这里是一些自定义的方法
		onGetUserPhone(event) {
		console.log("子组件");
		console.log(event);
		  let isOuthUserPhone = false;
		  if(event.type == 'getphonenumber'){
			  console.log("子组件类型");
			  console.log(event.type);
			  if(event.detail.errMsg == 'getPhoneNumber:ok') {
				  console.log("子组件类型j结果");
				  console.log(event.detail.errMsg);
				  isOuthUserPhone = true
			  }
		  }
		  this.triggerEvent('getphonenumber', { triggerClick: true,  isOuthUserPhone: isOuthUserPhone});
		}
	}
})